/**
 *  iBizSys 5.0 机器人生产代码（不要直接修改当前代码）
 *  http://www.ibizsys.net
 */
package com.sa.ibiz.demo.demoapp.demo.ctrlhandler;


import java.util.ArrayList;
import java.util.List;
import net.ibizsys.paas.util.StringHelper;
import net.ibizsys.paas.web.WebContext;
import net.ibizsys.paas.demodel.DEModelGlobal;
import net.ibizsys.paas.demodel.IDataEntityModel;
import net.ibizsys.paas.service.IService;
import net.ibizsys.paas.service.ServiceGlobal;

import com.sa.ibiz.demo.demoapp.srv.demo.ctrlmodel.IBZ5SUPPLIERDefaultDRBarModel;
import com.sa.ibiz.demo.srv.demo.demodel.IBZ5SUPPLIERDEModel;
import com.sa.ibiz.demo.srv.demo.service.IBZ5SUPPLIERService;
import com.sa.ibiz.demo.srv.demo.dao.IBZ5SUPPLIERDAO;
import com.sa.ibiz.demo.srv.demo.entity.IBZ5SUPPLIER;

import net.ibizsys.paas.core.DEDataSetFetchContext;
import net.ibizsys.paas.ctrlmodel.IGridModel;
import net.ibizsys.paas.db.DBFetchResult;
import net.ibizsys.paas.web.AjaxActionResult;
import net.ibizsys.paas.web.MDAjaxActionResult;
import net.ibizsys.paas.entity.IEntity;
import net.ibizsys.paas.ctrlmodel.IDRBarModel;

public class IBZ5SUPPLIEREditView2DRBarHandler extends net.ibizsys.paas.ctrlhandler.DRBarHandlerBase {

    protected IBZ5SUPPLIERDefaultDRBarModel drBarModel = null;
    public IBZ5SUPPLIEREditView2DRBarHandler()  {
        super();
    }

    @Override
    protected void onInit() throws Exception {
        drBarModel  = (IBZ5SUPPLIERDefaultDRBarModel)this.getViewController().getCtrlModel("drbar");
        super.onInit();
    }


    @Override
    protected IDRBarModel getDRBarModel() {
        return this.getRealDRBarModel();
    }

    protected IBZ5SUPPLIERDefaultDRBarModel getRealDRBarModel() {
        return this.drBarModel ;
    }



}